package com.chaos.gateway.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chaos.gateway.dto.ClientPermissionDto;
import com.chaos.gateway.entity.OauthClientDetailsPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Jacky.Cui
 * @since 2024-11-21
 */
public interface OauthClientDetailsPermissionMapper extends BaseMapper<OauthClientDetailsPermission> {

    List<ClientPermissionDto> getPermissionListByClientId(@Param("clientId") String clientId);
}
